.my-header {
  .set-up-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .info-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 16px;
  }
  .set-up-icon {
    right: 60px;
  }
  .info-icon:after, .set-up-icon:after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    top: -12px;
    left: -12px;
  }
}

.hd-avatar {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 16px;
  border-radius: 50%;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
}

.my-header {
  .header-tit, .hd-avatar {
    display: none;
  }
}

.header-bg {
  .header-tit, .hd-avatar {
    display: block;
  }
  .set-up-icon {
    background-position: -215px -433px;
  }
  .info-icon {
    background-position: -248px -433px;
  }
}

.my-info {
  margin-top: -44px;
  color: #fff;
  background: url(../../assets/image/membercenter/user-bg.png) no-repeat;
  background-size: 100% 100%;
  .flex-box {
    padding: 60px 0 46px 20px;
    display: -webkit-box;
    display: -moz-box;
  }
  .avatar-img {
    display: block;
    width: 64px;
    height: 64px;
    border: 2px solid #ffd68f;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 9px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .my-name {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    a {
      color: #fff;
    }
    h2 {
      font-size: 1.8rem;
      margin-bottom: -2px;
    }
    p {
      font-size: 1rem;
      line-height: 100%;
    }
    i {
      margin: 0;
      vertical-align: -5px;
      background-position: -274px -430px;
    }
    span {
      display: inline-block;
      padding: 0 8px;
      height: 16px;
      line-height: 16px;
      border-radius: 8px;
      background: rgba(255, 140, 0, 0.6);
      font-size: 1rem;
    }
    &.has-perfect {
      p {
        display: none;
      }
      h2 {
        margin-top: 8px;
      }
    }
  }
  .my-checkIn {
    display: block;
    span {
      display: block;
      height: 28px;
      line-height: 28px;
      padding: 0 12px 0 16px;
      border-radius: 14px 0 0 14px;
      margin-top: 20px;
      color: #ff711e;
      background: rgba(255, 255, 255, 0.6);
      i {
        display: inline-block;
        width: 10px;
        height: 13px;
        background-image: url(../../assets/image/common.png);
        background-size: 400px;
        background-position: -193px -505px;
        margin: 0 0 0 5px;
        vertical-align: -1px;
      }
    }
  }
  .nologin {
    display: none;
    color: #fff;
    div {
      display: flex;
      -webkit-box-flex: 1;
      -moz-box-flex: 1;
      align-items: center;
      font-size: 1.8rem;
      img {
        margin-left: 5px;
      }
    }
  }
  &.islogin {
    .haslogin {
      display: none;
    }
    .nologin {
      display: -webkit-box;
      display: -moz-box;
    }
  }
}

.my-offer {
  display: -webkit-box;
  display: -moz-box;
  background-color: #fff;
  margin-bottom: 12px;
  font-size: 1.6rem;
  div {
    padding: 22px 0;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    width: 0;
    text-align: center;
  }
  span {
    color: #ff8c00;
  }
}

.my-order {
  display: -webkit-box;
  display: -moz-box;
  background-color: #fff;
  margin-bottom: 12px;
  a {
    position: relative;
    display: block;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    width: 0;
    text-align: center;
    padding: 20px 0;
    span {
      position: relative;
    }
    em {
      position: absolute;
      left: 70%;
      padding: 0 3px;
      height: 14px;
      line-height: 14px;
      border-radius: 7px;
      font-size: 1rem;
      color: #fff;
      background-color: #fc0d1b;
      font-style: normal;
      min-width: 14px;
      text-align: center;
    }
    p {
      font-size: 12px;
    }
    &:last-child:before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      border-left: 1px solid #ebebeb;
      transform: scaleX(0.5);
    }
  }
  .my-order-arrow {
    &:before, &:after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      z-index: 1;
    }
    &:before {
      border-left: 10px solid #ebebeb;
      right: -10px;
    }
    &:after {
      border-left: 10px solid #fff;
      right: -9px;
    }
  }
}

.my-nav {
  padding: 0;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 12px;
  li {
    float: left;
    width: 25%;
    a {
      display: block;
      padding: 20px 0;
      text-align: center;
    }
    p {
      font-size: 1.2rem;
    }
  }
}

.gray {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}

.newsTips{
  position: absolute;
  top: 13px;
  right: 13px;
  width: 6px;
  height: 6px;
  background-color: #ff0629;
  border-radius: 50%;
}

